package com.unitedvision.persistence.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.unitedvision.core.domain.CompanyBillingStatus;
import com.unitedvision.persistence.domain.CompanyBillEntity;
import com.unitedvision.persistence.domain.CompanyEntity;
import com.unitedvision.persistence.domain.PeriodeValue;

public interface CompanyBillRepository extends JpaRepository<CompanyBillEntity, Integer> {
	List<CompanyBillEntity> findByStatus(CompanyBillingStatus status);
	List<CompanyBillEntity> findByCompany(CompanyEntity company);
	List<CompanyBillEntity> findByPeriode(PeriodeValue periode);
}
